From 0f33a1f296e635fa51a3c70326b6cfa2904bcb84 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 23 Apr 2012 20:44:54 +0800 Subject: [PATCH] * apropos.el (apropos-read-pattern): Fix word list splitting. --- lisp/ChangeLog | 1 + lisp/apropos.el | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3528c6fb5da..03000c85a71 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -8,6 +8,7 @@ (customize-apropos-groups): Use apropos-read-pattern (Bug#11124). * apropos.el (apropos-read-pattern): Make prompt less cryptic. + Fix word list splitting (Bug#11132). 2012-04-23 Michael Albinus diff --git a/lisp/apropos.el b/lisp/apropos.el index 6bf396a1632..25163dcab99 100644 --- a/lisp/apropos.el +++ b/lisp/apropos.el @@ -336,7 +336,7 @@ kind of objects to search." (read-string (concat "Search for " subject " (word list or regexp): ")))) (if (string-equal (regexp-quote pattern) pattern) ;; Split into words - (split-string pattern "[ \t]+") + (split-string pattern "[ \t]+" t) pattern))) (defun apropos-parse-pattern (pattern) -- 2.30.2